try {

  window.UxinJsCore.postMessage("{'method': 'getLoginInfo', 'params': {}}");
  // let uxin = window.UxinJsCore.postMessage("{'method': 'getLoginInfo', 'params': {}}");
  // if (uxin) {
  //   let data = JSON.parse(uxin)
  //   console.log(data, '获取data')
  //   sessionStorage.setItem('retoken', data.access_token || '');
  // }
  window.onUxLoginInfo = function (loginInfo) {
    console.log('优信', loginInfo);
    let data = JSON.parse(loginInfo)
    sessionStorage.setItem('retoken', data.access_token || '');
  }
  
} catch (err) {
  console.log(err)
}